package com.welike.shibo.service;

import com.google.gson.JsonObject;
import com.welike.shibo.eneity.PushBean;

/**
 * 极光推送
 * 封装业务功能相关
 * @author fangyu
 * @version v1.0.0
 * @since 2019-09-01 12:33
 */
public interface JPushService {

    boolean pushAll(PushBean pushBean);

    boolean pushIOS(PushBean pushBean);

    boolean pushIOS(PushBean pushBean, Integer pushType, JsonObject jsonObject, String... registers);

    boolean pushAndroid(PushBean pushBean);

    boolean pushAndroid(PushBean pushBean, String... registers);

    boolean pushAndroid(PushBean pushBean, String tagId);

    String[] checkRegisterIds(String[] registers);
}
